<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>IVMessageMgr Class Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">IoTVideo </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">tencentcs</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	
	<option value="overview">Overview</option>
	

	
	
	<option value="tasks">Tasks</option>
	
	

	
	
	<optgroup label="Properties">
		
		<option value="//api/name/defaultTimeout">defaultTimeout</option>
		
		<option value="//api/name/delegate">delegate</option>
		
		<option value="//api/name/sharedInstance">sharedInstance</option>
		
	</optgroup>
	

	

	
	<optgroup label="Instance Methods">
		
		<option value="//api/name/addPropertyOfDevice:path:json:completionHandler:">- addPropertyOfDevice:path:json:completionHandler:</option>
		
		<option value="//api/name/addPropertyOfDevice:path:json:timeout:completionHandler:">- addPropertyOfDevice:path:json:timeout:completionHandler:</option>
		
		<option value="//api/name/deletePropertyOfDevice:path:completionHandler:">- deletePropertyOfDevice:path:completionHandler:</option>
		
		<option value="//api/name/deletePropertyOfDevice:path:timeout:completionHandler:">- deletePropertyOfDevice:path:timeout:completionHandler:</option>
		
		<option value="//api/name/readPropertyOfDevice:path:completionHandler:">- readPropertyOfDevice:path:completionHandler:</option>
		
		<option value="//api/name/readPropertyOfDevice:path:timeout:completionHandler:">- readPropertyOfDevice:path:timeout:completionHandler:</option>
		
		<option value="//api/name/registerRemoteNotificationsWithPushId:appId:completionHandler:">- registerRemoteNotificationsWithPushId:appId:completionHandler:</option>
		
		<option value="//api/name/registerRemoteNotificationsWithPushId:language:timeZone:appVersion:appId:completionHandler:">- registerRemoteNotificationsWithPushId:language:timeZone:appVersion:appId:completionHandler:</option>
		
		<option value="//api/name/sendDataToDevice:data:timeout:expectResponse:completionHandler:">- sendDataToDevice:data:timeout:expectResponse:completionHandler:</option>
		
		<option value="//api/name/sendDataToDevice:data:timeout:multiRspHandler:">- sendDataToDevice:data:timeout:multiRspHandler:</option>
		
		<option value="//api/name/sendDataToDevice:data:withResponse:">- sendDataToDevice:data:withResponse:</option>
		
		<option value="//api/name/sendDataToDevice:data:withoutResponse:">- sendDataToDevice:data:withoutResponse:</option>
		
		<option value="//api/name/sendDataToServer:data:completionHandler:">- sendDataToServer:data:completionHandler:</option>
		
		<option value="//api/name/sendDataToServer:data:timeout:completionHandler:">- sendDataToServer:data:timeout:completionHandler:</option>
		
		<option value="//api/name/takeActionOfDevice:path:json:completionHandler:">- takeActionOfDevice:path:json:completionHandler:</option>
		
		<option value="//api/name/takeActionOfDevice:path:json:timeout:completionHandler:">- takeActionOfDevice:path:json:timeout:completionHandler:</option>
		
		<option value="//api/name/unregisterRemoteNotification:">- unregisterRemoteNotification:</option>
		
		<option value="//api/name/writePropertyOfDevice:path:json:completionHandler:">- writePropertyOfDevice:path:json:completionHandler:</option>
		
		<option value="//api/name/writePropertyOfDevice:path:json:timeout:completionHandler:">- writePropertyOfDevice:path:json:timeout:completionHandler:</option>
		
	</optgroup>
	
	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">IVMessageMgr Class Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Inherits from</th>
	<td>NSObject</td>
</tr><tr>
	<th>Declared in</th>
	<td>IVMessageMgr.h</td>
</tr>
						</tbody></table></div>
					

                    
					
					<div class="section section-overview">
						<a title="Overview" name="overview"></a>
						<h2 class="subtitle subtitle-overview">Overview</h2>
						<p>消息管理类</p>
					</div>
					
					

					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						

						
						

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/sharedInstance" title="sharedInstance"></a>
	<h3 class="method-title"><code><a href="#//api/name/sharedInstance">&nbsp;&nbsp;sharedInstance</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>消息管理单例</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (class, nonatomic, strong, readonly) IVMessageMgr *sharedInstance</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVMessageMgr.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/delegate" title="delegate"></a>
	<h3 class="method-title"><code><a href="#//api/name/delegate">&nbsp;&nbsp;delegate</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>消息代理</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, weak) id&lt;IVMessageDelegate&gt; delegate</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVMessageMgr.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/defaultTimeout" title="defaultTimeout"></a>
	<h3 class="method-title"><code><a href="#//api/name/defaultTimeout">&nbsp;&nbsp;defaultTimeout</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>全局消息默认超时时间，10秒，不可修改 单个消息可以单独设置</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readonly) NSTimeInterval defaultTimeout</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVMessageMgr.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/writePropertyOfDevice:path:json:completionHandler:" title="writePropertyOfDevice:path:json:completionHandler:"></a>
	<h3 class="method-title"><code><a href="#//api/name/writePropertyOfDevice:path:json:completionHandler:">&ndash;&nbsp;writePropertyOfDevice:path:json:completionHandler:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>写入属性</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)writePropertyOfDevice:(NSString *)<em>deviceId</em> path:(NSString *)<em>path</em> json:(NSString *)<em>json</em> completionHandler:(nullable IVMsgJSONCallback)<em>completionHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>deviceId</code></th>
						<td><p>设备ID</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>path</code></th>
						<td><p>路径（JSON的叶子节点）</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>json</code></th>
						<td><p>内容（JSON的具体字符串）</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>completionHandler</code></th>
						<td><p>完成回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVMessageMgr.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/writePropertyOfDevice:path:json:timeout:completionHandler:" title="writePropertyOfDevice:path:json:timeout:completionHandler:"></a>
	<h3 class="method-title"><code><a href="#//api/name/writePropertyOfDevice:path:json:timeout:completionHandler:">&ndash;&nbsp;writePropertyOfDevice:path:json:timeout:completionHandler:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>写入属性</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)writePropertyOfDevice:(NSString *)<em>deviceId</em> path:(NSString *)<em>path</em> json:(NSString *)<em>json</em> timeout:(NSTimeInterval)<em>timeout</em> completionHandler:(nullable IVMsgJSONCallback)<em>completionHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>deviceId</code></th>
						<td><p>设备ID</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>path</code></th>
						<td><p>路径（JSON的叶子节点）</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>json</code></th>
						<td><p>内容（JSON的具体字符串）</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>timeout</code></th>
						<td><p>超时时间</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>completionHandler</code></th>
						<td><p>完成回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVMessageMgr.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/readPropertyOfDevice:path:completionHandler:" title="readPropertyOfDevice:path:completionHandler:"></a>
	<h3 class="method-title"><code><a href="#//api/name/readPropertyOfDevice:path:completionHandler:">&ndash;&nbsp;readPropertyOfDevice:path:completionHandler:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>读取属性</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)readPropertyOfDevice:(NSString *)<em>deviceId</em> path:(NSString *)<em>path</em> completionHandler:(nullable IVMsgJSONCallback)<em>completionHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>deviceId</code></th>
						<td><p>设备ID</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>path</code></th>
						<td><p>路径（JSON的叶子节点）</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>completionHandler</code></th>
						<td><p>完成回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVMessageMgr.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/readPropertyOfDevice:path:timeout:completionHandler:" title="readPropertyOfDevice:path:timeout:completionHandler:"></a>
	<h3 class="method-title"><code><a href="#//api/name/readPropertyOfDevice:path:timeout:completionHandler:">&ndash;&nbsp;readPropertyOfDevice:path:timeout:completionHandler:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>读取属性</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)readPropertyOfDevice:(NSString *)<em>deviceId</em> path:(NSString *)<em>path</em> timeout:(NSTimeInterval)<em>timeout</em> completionHandler:(nullable IVMsgJSONCallback)<em>completionHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>deviceId</code></th>
						<td><p>设备ID</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>path</code></th>
						<td><p>路径（JSON的叶子节点）</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>timeout</code></th>
						<td><p>超时时间</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>completionHandler</code></th>
						<td><p>完成回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVMessageMgr.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/takeActionOfDevice:path:json:completionHandler:" title="takeActionOfDevice:path:json:completionHandler:"></a>
	<h3 class="method-title"><code><a href="#//api/name/takeActionOfDevice:path:json:completionHandler:">&ndash;&nbsp;takeActionOfDevice:path:json:completionHandler:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>执行动作</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)takeActionOfDevice:(NSString *)<em>deviceId</em> path:(NSString *)<em>path</em> json:(NSString *)<em>json</em> completionHandler:(nullable IVMsgJSONCallback)<em>completionHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>deviceId</code></th>
						<td><p>设备ID</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>path</code></th>
						<td><p>路径（JSON的叶子节点）</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>json</code></th>
						<td><p>内容（JSON的具体字符串）</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>completionHandler</code></th>
						<td><p>完成回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVMessageMgr.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/takeActionOfDevice:path:json:timeout:completionHandler:" title="takeActionOfDevice:path:json:timeout:completionHandler:"></a>
	<h3 class="method-title"><code><a href="#//api/name/takeActionOfDevice:path:json:timeout:completionHandler:">&ndash;&nbsp;takeActionOfDevice:path:json:timeout:completionHandler:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>执行动作</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)takeActionOfDevice:(NSString *)<em>deviceId</em> path:(NSString *)<em>path</em> json:(NSString *)<em>json</em> timeout:(NSTimeInterval)<em>timeout</em> completionHandler:(nullable IVMsgJSONCallback)<em>completionHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>deviceId</code></th>
						<td><p>设备ID</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>path</code></th>
						<td><p>路径（JSON的叶子节点）</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>json</code></th>
						<td><p>内容（JSON的具体字符串）</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>timeout</code></th>
						<td><p>超时时间</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>completionHandler</code></th>
						<td><p>完成回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVMessageMgr.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/addPropertyOfDevice:path:json:completionHandler:" title="addPropertyOfDevice:path:json:completionHandler:"></a>
	<h3 class="method-title"><code><a href="#//api/name/addPropertyOfDevice:path:json:completionHandler:">&ndash;&nbsp;addPropertyOfDevice:path:json:completionHandler:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>新增与已有的自定义重复时，会直接覆盖</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)addPropertyOfDevice:(NSString *)<em>deviceId</em> path:(NSString *)<em>path</em> json:(NSString *)<em>json</em> completionHandler:(nullable IVMsgJSONCallback)<em>completionHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>deviceId</code></th>
						<td><p>设备ID</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>path</code></th>
						<td><p>路径（ProUser.xxx）不得以 &ldquo;_"开头</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>json</code></th>
						<td><p>内容（JSON的具体字符串）</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>completionHandler</code></th>
						<td><p>完成回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVMessageMgr.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/addPropertyOfDevice:path:json:timeout:completionHandler:" title="addPropertyOfDevice:path:json:timeout:completionHandler:"></a>
	<h3 class="method-title"><code><a href="#//api/name/addPropertyOfDevice:path:json:timeout:completionHandler:">&ndash;&nbsp;addPropertyOfDevice:path:json:timeout:completionHandler:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>新增与已有的自定义重复时，会直接覆盖</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)addPropertyOfDevice:(NSString *)<em>deviceId</em> path:(NSString *)<em>path</em> json:(NSString *)<em>json</em> timeout:(NSTimeInterval)<em>timeout</em> completionHandler:(nullable IVMsgJSONCallback)<em>completionHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>deviceId</code></th>
						<td><p>设备ID</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>path</code></th>
						<td><p>路径（ProUser.xxx）不得以 &ldquo;_"开头</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>json</code></th>
						<td><p>内容（JSON的具体字符串）</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>timeout</code></th>
						<td><p>超时时间</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>completionHandler</code></th>
						<td><p>完成回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVMessageMgr.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/deletePropertyOfDevice:path:completionHandler:" title="deletePropertyOfDevice:path:completionHandler:"></a>
	<h3 class="method-title"><code><a href="#//api/name/deletePropertyOfDevice:path:completionHandler:">&ndash;&nbsp;deletePropertyOfDevice:path:completionHandler:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>删除 自定义用户物模型</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)deletePropertyOfDevice:(NSString *)<em>deviceId</em> path:(NSString *)<em>path</em> completionHandler:(nullable IVMsgJSONCallback)<em>completionHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>deviceId</code></th>
						<td><p>设备ID</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>path</code></th>
						<td><p>路径（ProUser.xxx）只能删除自定义新增的内容</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>completionHandler</code></th>
						<td><p>完成回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVMessageMgr.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/deletePropertyOfDevice:path:timeout:completionHandler:" title="deletePropertyOfDevice:path:timeout:completionHandler:"></a>
	<h3 class="method-title"><code><a href="#//api/name/deletePropertyOfDevice:path:timeout:completionHandler:">&ndash;&nbsp;deletePropertyOfDevice:path:timeout:completionHandler:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>删除 自定义用户物模型</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)deletePropertyOfDevice:(NSString *)<em>deviceId</em> path:(NSString *)<em>path</em> timeout:(NSTimeInterval)<em>timeout</em> completionHandler:(nullable IVMsgJSONCallback)<em>completionHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>deviceId</code></th>
						<td><p>设备ID</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>path</code></th>
						<td><p>路径（ProUser.xxx）只能删除自定义新增的内容</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>timeout</code></th>
						<td><p>超时时间</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>completionHandler</code></th>
						<td><p>完成回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVMessageMgr.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/sendDataToDevice:data:withoutResponse:" title="sendDataToDevice:data:withoutResponse:"></a>
	<h3 class="method-title"><code><a href="#//api/name/sendDataToDevice:data:withoutResponse:">&ndash;&nbsp;sendDataToDevice:data:withoutResponse:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>不需要建立通道连接，数据经由服务器转发，适用于实时性不高、数据小于<code>MAX_DATA_SIZE</code>、不需要回传的场景，如控制指令。</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)sendDataToDevice:(NSString *)<em>deviceId</em> data:(NSData *)<em>data</em> withoutResponse:(nullable IVMsgDataCallback)<em>completionHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>deviceId</code></th>
						<td><p>设备ID</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>data</code></th>
						<td><p>数据内容，data.length不能超过<code>MAX_DATA_SIZE</code></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>completionHandler</code></th>
						<td><p>完成回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<div class="note"><p><strong>Note:</strong> 完成回调条件：收到ACK 或 消息超时</p></div>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVMessageMgr.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/sendDataToDevice:data:withResponse:" title="sendDataToDevice:data:withResponse:"></a>
	<h3 class="method-title"><code><a href="#//api/name/sendDataToDevice:data:withResponse:">&ndash;&nbsp;sendDataToDevice:data:withResponse:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>不需要建立通道连接，数据经由服务器转发，适用于实时性不高、数据小于<code>MAX_DATA_SIZE</code>、需要回传的场景，如获取信息。</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)sendDataToDevice:(NSString *)<em>deviceId</em> data:(NSData *)<em>data</em> withResponse:(nullable IVMsgDataCallback)<em>completionHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>deviceId</code></th>
						<td><p>设备ID</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>data</code></th>
						<td><p>数据内容，data.length不能超过<code>MAX_DATA_SIZE</code></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>completionHandler</code></th>
						<td><p>完成回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<div class="note"><p><strong>Note:</strong> 完成回调条件：收到ACK错误、消息超时 或 有数据回传</p></div>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVMessageMgr.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/sendDataToDevice:data:timeout:multiRspHandler:" title="sendDataToDevice:data:timeout:multiRspHandler:"></a>
	<h3 class="method-title"><code><a href="#//api/name/sendDataToDevice:data:timeout:multiRspHandler:">&ndash;&nbsp;sendDataToDevice:data:timeout:multiRspHandler:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>不需要建立通道连接，数据经由服务器转发，适用于实时性不高、数据小于<code>MAX_DATA_SIZE</code>、需要多次回传的场景，如获取信息。</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)sendDataToDevice:(NSString *)<em>deviceId</em> data:(NSData *)<em>data</em> timeout:(NSTimeInterval)<em>timeout</em> multiRspHandler:(nullable IVMsgMultiRspCallback)<em>multiRspHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>deviceId</code></th>
						<td><p>设备ID</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>data</code></th>
						<td><p>数据内容，data.length不能超过<code>MAX_DATA_SIZE</code></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>timeout</code></th>
						<td><p>自定义超时时间，默认超时时间可使用@c <code>IVMsgTimeoutAuto</code></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>multiRspHandler</code></th>
						<td><p>多次回调处理, 调用方应在结束回调时设置<code>*finished=YES</code>以移除回调监听</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<div class="note"><p><strong>Note:</strong> 完成回调条件：收到ACK错误、消息超时 或 有数据回传</p></div>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVMessageMgr.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/sendDataToDevice:data:timeout:expectResponse:completionHandler:" title="sendDataToDevice:data:timeout:expectResponse:completionHandler:"></a>
	<h3 class="method-title"><code><a href="#//api/name/sendDataToDevice:data:timeout:expectResponse:completionHandler:">&ndash;&nbsp;sendDataToDevice:data:timeout:expectResponse:completionHandler:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>不需要建立通道连接，数据经由服务器转发，适用于实时性要求不高，数据小于<code>MAX_DATA_SIZE</code>的场景，如控制指令、获取信息。</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)sendDataToDevice:(NSString *)<em>deviceId</em> data:(NSData *)<em>data</em> timeout:(NSTimeInterval)<em>timeout</em> expectResponse:(BOOL)<em>expectResponse</em> completionHandler:(nullable IVMsgDataCallback)<em>completionHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>deviceId</code></th>
						<td><p>设备ID</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>data</code></th>
						<td><p>数据内容，data.length不能超过<code>MAX_DATA_SIZE</code></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>timeout</code></th>
						<td><p>自定义超时时间，默认超时时间可使用@c <code>IVMsgTimeoutAuto</code></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>expectResponse</code></th>
						<td><p>【YES】预期有数据回传 ；【NO】忽略数据回传</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>completionHandler</code></th>
						<td><p>完成回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<div class="note"><p><strong>Note:</strong> 相关接口 @c <a href="#//api/name/sendDataToDevice:data:withoutResponse:"><code>sendDataToDevice:data:withoutResponse:</code></a>、<a href="#//api/name/sendDataToDevice:data:withResponse:"><code>sendDataToDevice:data:withResponse:</code></a>。</p></div>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVMessageMgr.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/sendDataToServer:data:completionHandler:" title="sendDataToServer:data:completionHandler:"></a>
	<h3 class="method-title"><code><a href="#//api/name/sendDataToServer:data:completionHandler:">&ndash;&nbsp;sendDataToServer:data:completionHandler:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>信令数据透传给服务器</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)sendDataToServer:(NSString *)<em>url</em> data:(nullable NSData *)<em>data</em> completionHandler:(nullable IVMsgDataCallback)<em>completionHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>url</code></th>
						<td><p>服务器路径</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>data</code></th>
						<td><p>数据内容，data.length不能超过<code>MAX_DATA_SIZE</code></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>completionHandler</code></th>
						<td><p>完成回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVMessageMgr.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/sendDataToServer:data:timeout:completionHandler:" title="sendDataToServer:data:timeout:completionHandler:"></a>
	<h3 class="method-title"><code><a href="#//api/name/sendDataToServer:data:timeout:completionHandler:">&ndash;&nbsp;sendDataToServer:data:timeout:completionHandler:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>信令数据透传给服务器</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)sendDataToServer:(NSString *)<em>url</em> data:(nullable NSData *)<em>data</em> timeout:(NSTimeInterval)<em>timeout</em> completionHandler:(nullable IVMsgDataCallback)<em>completionHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>url</code></th>
						<td><p>服务器路径</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>data</code></th>
						<td><p>数据内容，data.length不能超过<code>MAX_DATA_SIZE</code></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>timeout</code></th>
						<td><p>超时时间</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>completionHandler</code></th>
						<td><p>完成回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVMessageMgr.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/registerRemoteNotificationsWithPushId:appId:completionHandler:" title="registerRemoteNotificationsWithPushId:appId:completionHandler:"></a>
	<h3 class="method-title"><code><a href="#//api/name/registerRemoteNotificationsWithPushId:appId:completionHandler:">&ndash;&nbsp;registerRemoteNotificationsWithPushId:appId:completionHandler:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>注册SDK离线推送</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)registerRemoteNotificationsWithPushId:(NSString *)<em>pushId</em> appId:(NSString *)<em>appId</em> completionHandler:(nullable IVMsgJSONCallback)<em>completionHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>pushId</code></th>
						<td><p>推送ID 如极光推送的<code>registrationID</code></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>appId</code></th>
						<td><p>从官网获取 的 appId</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVMessageMgr.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/registerRemoteNotificationsWithPushId:language:timeZone:appVersion:appId:completionHandler:" title="registerRemoteNotificationsWithPushId:language:timeZone:appVersion:appId:completionHandler:"></a>
	<h3 class="method-title"><code><a href="#//api/name/registerRemoteNotificationsWithPushId:language:timeZone:appVersion:appId:completionHandler:">&ndash;&nbsp;registerRemoteNotificationsWithPushId:language:timeZone:appVersion:appId:completionHandler:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>注册SDK离线推送</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)registerRemoteNotificationsWithPushId:(NSString *)<em>pushId</em> language:(nullable NSString *)<em>language</em> timeZone:(NSInteger)<em>zone</em> appVersion:(nullable NSString *)<em>appVersion</em> appId:(NSString *)<em>appId</em> completionHandler:(nullable IVMsgJSONCallback)<em>completionHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>pushId</code></th>
						<td><p>推送ID 如极光推送的<code>registrationID</code></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>language</code></th>
						<td><p>推送语言（默认中文zh_cn）</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>zone</code></th>
						<td><p>时区秒 （默认设备当前时区）</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>appVersion</code></th>
						<td><p>app版本号</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>appId</code></th>
						<td><p>从官网获取 的 appId</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVMessageMgr.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/unregisterRemoteNotification:" title="unregisterRemoteNotification:"></a>
	<h3 class="method-title"><code><a href="#//api/name/unregisterRemoteNotification:">&ndash;&nbsp;unregisterRemoteNotification:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>反注册SDK离线推送</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)unregisterRemoteNotification:(nullable IVMsgJSONCallback)<em>completionHandler</em></code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVMessageMgr.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						
					</div>
					
					

                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2021 tencentcs. All rights reserved. Updated: 2021-07-22</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>